package ch.bfh.swos.learnaid.service.dto;

import java.io.Serializable;
import java.util.List;

/**
 * Entity implementation class for Entity: Question
 * 
 */
public class QuestionDTO implements Serializable {
    private Long id;
    private String text;
    private static final long serialVersionUID = 1L;

    private AuthorDTO author;

    private List<TagDTO> tags;

    private List<AnswerDTO> answers;

    public QuestionDTO() {
        super();
    }

    public List<AnswerDTO> getAnswers() {
        return answers;
    }

    public void setAnswers(List<AnswerDTO> answers) {
        this.answers = answers;
    }

    public List<TagDTO> getTags() {
        return tags;
    }

    public void setTags(List<TagDTO> tags) {
        this.tags = tags;
    }

    public AuthorDTO getAuthor() {
        return author;
    }

    public void setAuthor(AuthorDTO author) {
        this.author = author;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return this.text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
